package com.ttl.springboot.common.enmus;

/**
 * 功能
 * 作者:江哥
 * 日期:2024/8/1 20:16
 */
public enum ResultCodeEnum {
    SUCCESS("200", "请求成功"),
    TOKEN_INVALID_ERROR("401", "请重新登录"),
    PARAM_ERROR("400", "参数错误"),
    SYSTEM_ERROR("500", "系统异常"),
            ;

    public String code;
    public String msg;

    ResultCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
